package com.auanaum.dto;

import java.util.Date;

import javax.jdo.annotations.DatastoreIdentity;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PrimaryKey;


import com.google.appengine.api.users.User;

@PersistenceCapable
@DatastoreIdentity(strategy=IdGeneratorStrategy.SEQUENCE, sequence="MY_SEQUENCE")
public class Movie {
	@PrimaryKey
	private String title;
	private String val;
	private User user;
	private Date date;
	
	
	public Movie(User user, String title, String val, Date date) {
		// TODO Auto-generated constructor stub
		this.title = title;
		this.val = val;
		this.user = user;
		this.date = date;
	}	

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getVal() {
		return val;
	}
	public void setVal(String val) {
		this.val = val;
	}
	
}
